﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QH.JobBack.Model
{
    public partial class Cityinfo
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Cityinfo()
        {
            this.Company = new HashSet<Company>();
            this.Positioninfo = new HashSet<PositionInfo>();
            this.PositionSubscribe = new HashSet<PositionSubscribe>();

        }
        [System.ComponentModel.DataAnnotations.Key]
        public int CityId { get; set; }
        public string CityName { get; set; }
        public string Initial { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Company> Company { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<PositionInfo> Positioninfo { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<PositionSubscribe> PositionSubscribe { get; set; }
    }
}
